import request from '@/config/axios'

const baseURL = '/system/media-template'

export const listTemplates = (data) =>
  request.post({
    url: `${baseURL}/list-templates`,
    data
  })

export const getTemplateMaterials = (data) =>
  request.post({
    url: `${baseURL}/get-template-materials`,
    data
  })
